<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8" />
		<title>Document</title>
	</head>
	<body>
		<script type="text/javascript" >
			const vm = {
				$attrs:'????',
				$children:'####',
				_data:{
					name:'尚硅谷',
					address:'宏福科技园'
				}
			}
			
			Object.keys(vm._data).forEach((key)=>{
				Object.defineProperty(vm,key,{
					get(){
						return vm._data[key]
					},
					set(value){
						vm._data[key] = value
					}
				})
			})
		</script>
	</body>
</html>